<?php

session_start();

include_once "src/misc/ClientReponseGenerator.php";

try {
    
    $_SESSION["resourceIdForReservationCalendar"] = $_POST["resourceId"];
    
    echo ClientReponseGenerator::simpleJsonResponse(1, "", "");
    
} catch (Exception $e) {
    echo ClientReponseGenerator::simpleJsonResponse(0, "CreateNewUserException", "");
}

?>
